<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <link rel="stylesheet" href="style.78952170.css">
    <style>.icon {
        width: 1em;
        height: 1em;
        vertical-align: -0.15em;
        fill: currentColor;
        overflow: hidden;
      }</style>
    <title>Search</title>
  </head>

  <body>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <header>
      <div class="globalHeader">
        <div class="searchImageDiv">
          <img src="https://i.loli.net/2020/05/24/JmGbKNzLvWtDfio.png" alt="" class="searchImage">
        </div>
        <div class="formAndButtons">
          <form action="" autocomplete="off" id="searchForm" method="GET">
            <div class="searchIconAndSearchInput">
              <input class="searchInput" type="text" name="">
              <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-huabanfuben"></use>
              </svg>
            </div>
            <div class="buttons">
              <button onclick="baiDu()" class="button1">
                点击搜索
              </button>
              <button onclick="google()" class="button2">
                查看更多
              </button>
            </div>
          </form>
        </div>
      </div>

      <script>function baiDu() {
  $("#searchForm").attr("action", "https://baidu.com/s");
  $(".searchInput").attr("name", "wd");
  $("#searchForm").submit();
}

function google() {
  $("#searchForm").attr("action", "https://google.com/search");
  $(".searchInput").attr("name", "q");
  $("#searchForm").submit();
}</script>
    </header>
    <!-- ---- -->
    <main>
      <div class="globalMain">
        <ul class="siteList">
          <li class="site" id="add">
            <div class="siteLogo">
              <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-add"></use>
              </svg>
            </div>
            <div class="url">
              点击添加
            </div>
          </li>
        </ul>
      </div>
    </main>
    <script src="//at.alicdn.com/t/font_1838191_cese7y2jdzc.js"></script>
    <script src="main.f203e2a8.js"></script>
  </body>
</html>
